﻿/*
 * Created by SharpDevelop.
 * User: Andrew
 * Date: 05/05/2013
 * Time: 01:25
 * 
 * To change this template use Tools | Options | Coding | Edit Standard Headers.
 */
using System;
using System.Collections.Generic;
using System.Runtime.Serialization;

namespace RRRSRoguelikeData
{
	/// <summary>
	/// Description of HighScoreEntry.
	/// </summary>
	[DataContract]
	public class HighScoreEntry: ICloneable
	{
		/// <summary>
		/// Holds a dictionry of fields and values for the high score
		/// </summary>
		[DataMember]
		public Dictionary<string,string> Data = new Dictionary<string, string>();
		
		public HighScoreEntry()
		{
		}
		
		public object Clone()
		{
			object hSE = new HighScoreEntry();
			((HighScoreEntry)hSE).Data = new Dictionary<string,string>(Data);
			return hSE;
		}
	}
}
